
public class Test  {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        //mySingleList.createList();
        mySingleList.addLast(12);
        mySingleList.addLast(23);
        mySingleList.addLast(12);
        mySingleList.addLast(45);
        mySingleList.addLast(12);
        //mySingleList.addFirst(5699999);
        mySingleList.display();
        /*mySingleList.addIndex(0,888888);
        mySingleList.display();
        mySingleList.addIndex(2,777);
        mySingleList.display();
        mySingleList.addIndex(8,11118);
        mySingleList.display();
        mySingleList.remove(888888);
        mySingleList.display();*/
        mySingleList.removeAllKey(12);
        mySingleList.display();
        System.out.println("长度："+ mySingleList.size());
        System.out.println(mySingleList.contains(34));
        mySingleList.clear();
    }
}
